/**
 * 
 */
package com.fita.admin.visitor.impl;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 
 * @author dan
 *
 */
@Component("cloudContextVisitor")
public class CloudContextVisitor {

    @Value("#{cloud['cloud.qiniu.host']}")
    private String qiniuHost;
    
    @Value("#{cloud['cloud.domain']}")
    private String domain;
    
    /**
     * 
     * @return
     */
    public String getQiniuHost() {
        return qiniuHost;
    }
    
    public String getDomain() {
        return domain;
    }
}
